From d80c4826059a6a59a1eaa268e6ce5125c90c77ea Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Thu, 12 Jan 2012 16:46:54 +0100 Subject: [PATCH] x86-64: globally use -mno-sse This eliminates pointless prologue code from functions having variable argument lists (since that way xmm registers can't possibly be passed). Signed-off-by: Jan Beulich Acked-by: Keir Fraser --- xen/arch/x86/Rules.mk | 2 +- xen/arch/x86/efi/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/arch/x86/Rules.mk b/xen/arch/x86/Rules.mk index bf77aef8b2..9fc6d42f9f 100644 --- a/xen/arch/x86/Rules.mk +++ b/xen/arch/x86/Rules.mk @@ -41,7 +41,7 @@ x86_64 := n endif ifeq ($(TARGET_SUBARCH),x86_64) -CFLAGS += -mno-red-zone -fpic +CFLAGS += -mno-red-zone -mno-sse -fpic CFLAGS += -fno-asynchronous-unwind-tables # -fvisibility=hidden reduces -fpic cost, if it's available ifneq ($(call cc-option,$(CC),-fvisibility=hidden,n),n) diff --git a/xen/arch/x86/efi/Makefile b/xen/arch/x86/efi/Makefile index 6e3f94c208..005e3e05dd 100644 --- a/xen/arch/x86/efi/Makefile +++ b/xen/arch/x86/efi/Makefile @@ -1,4 +1,4 @@ -CFLAGS += -fshort-wchar -mno-sse +CFLAGS += -fshort-wchar obj-y += stub.o -- 2.30.2